<template>
    <div>
        <a href="javascript:void (0)" @click="open()">点击测试</a>
    </div>
</template>

<script>
    export default {
        methods: {
            open() {
                this.$prompt('请输入书圈id', '提示', {
                    confirmButtonText: '确定',
                    cancelButtonText: '取消',
                }).then(({ value }) => {
                    this.$router.push({
                        "path":"/top/circleinvitation",
                        "query":{
                            "id":value
                        }
                    })
                }).catch(() => {

                });
            }
        }
    }
</script>

<style scoped>
</style>

